package com.bite.book.mapper;

import com.bite.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2025-05-27
 * Time:22:10
 */
@Mapper
public interface UserInfoMapper {
    //根据名称去查
    @Select("select * from user_info where user_name = #{name} and delete_flag = 0")
    UserInfo getUserInfoByName(String name);
}
